package com.gxa.pojo;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Contract {

//  @JSONField(format = "yyyy-MM-dd HH:mm:ss")

  private Integer contract_id;
  private String contract_no;
  private Integer customer_Id;
  private String order_id;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
  private Date contract_startday;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
  private Date contract_endday;
  private Double contract_summoney;
  private Double contract_debtmoney;
  private Double contract_receivemoney;
  private String contract_tax;
  private Integer contract_invoice;
  private String contract_comment;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
  private Date contract_enterday;
  private Integer employee_id;
  private Integer contract_part;
  private Integer contract_status_no;

  private Customer customer;
  private Orders orders;
  private Contract_status contract_status;
  private Contact contact;

  public Contact getContact() {
    return contact;
  }

  public void setContact(Contact contact) {
    this.contact = contact;
  }

  public Integer getContract_status_no() {
    return contract_status_no;
  }

  public void setContract_status_no(Integer contract_status_no) {
    this.contract_status_no = contract_status_no;
  }

  public Contract_status getContract_status() {
    return contract_status;
  }

  public void setContract_status(Contract_status contract_status) {
    this.contract_status = contract_status;
  }

  public Customer getCustomer() {
    return customer;
  }

  public void setCustomer(Customer customer) {
    this.customer = customer;
  }

  public Orders getOrders() {
    return orders;
  }

  public void setOrders(Orders orders) {
    this.orders = orders;
  }


  public String getContract_no() {
    return contract_no;
  }

  public void setContract_no(String contract_no) {
    this.contract_no = contract_no;
  }

  public Integer getCustomer_Id() {
    return customer_Id;
  }

  public void setCustomer_Id(Integer customer_Id) {
    this.customer_Id = customer_Id;
  }

  public String getOrder_id() {
    return order_id;
  }

  public void setOrder_id(String order_id) {
    this.order_id = order_id;
  }



  public Double getContract_summoney() {
    return contract_summoney;
  }

  public void setContract_summoney(Double contract_summoney) {
    this.contract_summoney = contract_summoney;
  }

  public Double getContract_debtmoney() {
    return contract_debtmoney;
  }

  public void setContract_debtmoney(Double contract_debtmoney) {
    this.contract_debtmoney = contract_debtmoney;
  }

  public Double getContract_receivemoney() {
    return contract_receivemoney;
  }

  public void setContract_receivemoney(Double contract_receivemoney) {
    this.contract_receivemoney = contract_receivemoney;
  }

  public String getContract_tax() {
    return contract_tax;
  }

  public void setContract_tax(String contract_tax) {
    this.contract_tax = contract_tax;
  }

  public Integer getContract_id() {
    return contract_id;
  }

  public void setContract_id(Integer contract_id) {
    this.contract_id = contract_id;
  }

  public Integer getContract_invoice() {
    return contract_invoice;
  }

  public void setContract_invoice(Integer contract_invoice) {
    this.contract_invoice = contract_invoice;
  }

  public String getContract_comment() {
    return contract_comment;
  }

  public void setContract_comment(String contract_comment) {
    this.contract_comment = contract_comment;
  }


  public Date getContract_startday() {
    return contract_startday;
  }

  public void setContract_startday(Date contract_startday) {
    this.contract_startday = contract_startday;
  }

  public Date getContract_endday() {
    return contract_endday;
  }

  public void setContract_endday(Date contract_endday) {
    this.contract_endday = contract_endday;
  }

  public Date getContract_enterday() {
    return contract_enterday;
  }

  public void setContract_enterday(Date contract_enterday) {
    this.contract_enterday = contract_enterday;
  }

  public Integer getEmployee_id() {
    return employee_id;
  }

  public void setEmployee_id(Integer employee_id) {
    this.employee_id = employee_id;
  }

  public Integer getContract_part() {
    return contract_part;
  }

  public void setContract_part(Integer contract_part) {
    this.contract_part = contract_part;
  }
}
